Repository navigation
feat(native): a chat permission waits over the message box - #1277
Merged
Merged
Conversation
It stood in the conversation, where it scrolled away, with the tool's name for a title, the file's name twice and a command cut to its first line. It now stands where a question does, says what the agent asks to do and shows all of what is being approved. An allowed call is told by its own line and a denied one by a Denied line in its place. A permission a stop dismissed or the provider withdrew no longer waits forever, and several at once are answered in the order they came.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
A permission in the chat now waits over the message box, where a question does, instead of in the conversation, where it scrolled away.
The answers, their order and their keys are the same, and Enter still answers nothing.
Providers
The box is one path for the three chat protocols (Claude Code, Codex, ACP), and the tests run over the three shapes. Codex asks about all the files of a patch at once, so each gets its own line and diff; its request to reach past the sandbox reads "asks for more access". Crush has no chat.
A permission carries its call's name and target, not its id, so the window matches the two by those.
docs/ceilings.mdhas the limit.New copy
Test plan
native/chat_store_test.go,chat_turn_fold_test.go), and the live line's exit is measured against the box (chat_motion_test.go)